package share.service;

import share.service.model.PageModel;
import share.service.model.ShareModel;

import java.util.List;

public interface ShareService {
    ShareModel addShare(ShareModel shareModel);

    PageModel<ShareModel> findByPage(Integer begin, Integer pageSize);

    int deleteShare(Integer id);

    int editShare(ShareModel share);

    ShareModel getShareById(Integer id);
}
